package main

import (
	"demo/function"
	"fmt"
)

func main() {
	function.TestFun1()
	function.TestFunc2()

	var (
		coins = 50
		users = []string{
			"Matthew", "Sarah", "Augustus", "Heidi", "Emilie", "Peter", "Giana", "Adriano", "Aaron", "Elizabeth",
		}
	)

	distrib, left := function.DispatchCoin(coins, users)
	fmt.Println(left)
	fmt.Println(distrib)
}
